/*
*
==============================================================================
*  Name        : 
*  Part of     : Omen Game Engine
*  Description : 
*  Version     : 1.0
*
*  Copyright (c) 2013 Lauri Kortevaara.
* 
==============================================================================
*/

#ifndef IOmen_GRAPHICSSERVER_H
#define IOmen_GRAPHICSSERVER_H

#include "OmenConfig.h"
#include "IOmenGraphicsDriver.h"

#include <vector>
#include <string>

namespace Omen {

  /// <summary>Manages graphics related stuff for the engine</summary>
  class OMEN_API IGraphicsServer {
    public: 
        virtual void addGraphicsDriver( Omen::IGraphicsDriver* pIGraphicsDriver) = 0;    /// <summary>Allows plugins to add new graphics drivers</summary>
    
        virtual size_t             getDriverCount() const = 0;                                    /// <summary>Gets the total number of registered graphics drivers</summary>
        virtual IGraphicsDriver &getDriver(size_t Index) = 0;                                    /// <summary>Accesses a driver by its index</summary>
  };

  // ----------------------------------------------------------------------- //

} // namespace Omen

#endif // Omen_GRAPHICSSERVER_H
